import * as mongoose from "mongoose"
import { Schema } from "mongoose"

// 用于存储所有基金类型的表
const schema: Schema = new mongoose.Schema({
    fund_code: { type: String, required: true },
    fund_name: { type: String, required: true },
}, {versionKey: false});

const FundCategory = mongoose.model("FundCategory", schema);

export default FundCategory;